package me.liuyu.ymall.member.oauth.DO;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyu
 * @since 2018-06-07
 */
@TableName("member_rights")
public class MemberRights extends Model<MemberRights> {

    private static final long serialVersionUID = 1L;

    @TableId("member_rights_id")
	private Long memberRightsId;
	@TableField("member_rights_description")
	private String memberRightsDescription;
	@TableField("create_time")
	private Date createTime;


	public Long getMemberRightsId() {
		return memberRightsId;
	}

	public void setMemberRightsId(Long memberRightsId) {
		this.memberRightsId = memberRightsId;
	}

	public String getMemberRightsDescription() {
		return memberRightsDescription;
	}

	public void setMemberRightsDescription(String memberRightsDescription) {
		this.memberRightsDescription = memberRightsDescription;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.memberRightsId;
	}

	@Override
	public String toString() {
		return "MemberRights{" +
			"memberRightsId=" + memberRightsId +
			", memberRightsDescription=" + memberRightsDescription +
			", createTime=" + createTime +
			"}";
	}
}
